package com.kapo.egroup.entity.base.recruit;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.kapo.egroup.entity.base.BaseEntity;
import com.kapo.egroup.entity.base.project.Project;
import com.kapo.egroup.entity.base.user.User;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @Title Recruit
 * @Description TODO
 * @Author 86159
 * @Date 2023-04-01 14:20
 **/
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Recruit extends BaseEntity {

    /*
     * 负责人用户
     */
    private Long leaderId;

    /*
     * 课题名称
     */
    private String projectId;

    /*
     * 详情
     */
    private String description;

    /*
     * 课题要求
     */
    private String requirement;

    /*
     * 状态
     * -1：已删除
     * 0：已创建
     * 1：已解决
     */
    private Integer state;

    @TableField(exist = false)
    private Project project;
}
